//
//  XSShop.m
//  MeiLiYiChu
//
//  Created by mac on 16/3/1.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "XSShop.h"

@implementation XSShop
+(XSShop *)getPlistWithNSDiction:(NSDictionary *)dic
{
    XSShop * shop =[[XSShop alloc]init];
    shop.title =dic[@"title"];
    shop.logo_url =dic[@"logo_url"];
    return shop;
}
+(XSShop *)getFirstWithNSDiction:(NSDictionary *)dic
{
    XSShop * shop =[[XSShop alloc]init];
    [shop setValuesForKeysWithDictionary:dic];
    return shop;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        _Description =value;
    }
//    if ([key isEqualToString:@"pic_url"])
//    {
//        _Pic_url =value;
//        
//    }
}
@end
